'use strict'
exports.main = async (event, context) => {
  let { num } = event
  let arr = [
    { 'id': '28ee4e3e6050598b0af006d25246ec3f', 'picurl': 'https://cdn.ffhome.top/mall/goods/10510.png', 'price': '5208/饼', 'title': '六妙紫印' },
    { 'id': '28ee4e3e6050b76c0b014bdb0431265a', 'picurl': 'https://cdn.ffhome.top/mall/goods/10530.png', 'price': '3120/箱', 'pronum': 'LM-2020018', 'title': '老树贡眉' },
    { 'id': '79550af26050b9d00a6375ad20319360', 'picurl': 'https://cdn.ffhome.top/mall/goods/10560.png', 'price': '936/盒', 'pronum': 'LM-201810', 'title': '贡眉散茶' },
    { 'id': '28ee4e3e60507a2f0af735f57087eaa5', 'picurl': 'https://cdn.ffhome.top/mall/goods/10610.png', 'price': '1949/饼', 'pronum': 'LM-201868', 'title': '改革开放四十周年纪念茶' },
    { 'id': '79550af260ab47ef19ae99816311552f', 'picurl': 'https://cdn.ffhome.top/mall/goods/10620.png', 'price': '23610/箱', 'pronum': 'LM-2021010', 'title': '白毫银针' },
    { 'id': '79550af260507cec0a59d68c0fdb5323', 'picurl': 'https://cdn.ffhome.top/mall/goods/10630.png', 'price': '1799/罐', 'pronum': 'LM-2020011', 'title': '老茶牡丹（2006年）' },
    { 'id': '28ee4e3e6050b4320b00e94b00e1fb56', 'picurl': 'https://cdn.ffhome.top/mall/goods/10650.png', 'price': '1466/饼', 'pronum': 'LM-2019033', 'title': '有机寿眉' },
    { 'id': 'b00064a76050b3cd0a550ad50b996430', 'picurl': 'https://cdn.ffhome.top/mall/goods/10710.png', 'price': '328/袋', 'pronum': 'J-LM201728', 'title': '寒露茶' }
  ]
  return arr.slice(0, num)
}